OPTIONS=-g -fPIC
CC=g++
INCLUDES=-I../includes -I../mesoscopic2
OBJ=XMLOutputMesoscopicInterface.o \
	Controller.o Network.o SimulationNode.o NodeInput.o CarBundle.o TLSPhase.o TLSLink.o

all: lib

%.o : %.cpp 
	$(CC) -c $(OPTIONS) $(INCLUDES) $< -o $@

clean:
	rm $(OBJ)
	
lib: $(OBJ)
	ar rcs libmesoscopic2.a $(OBJ)